package com.ruoyi.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.core.domain.entity.SysUser;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Friend {
    @TableId(type = IdType.AUTO)
    private Long id;

    private Long loginUserId;

    private Long loginUserFriendId;

    @TableField(exist = false)
    private String nickName;

    @TableField(exist = false)
    private SysUser friendUser;
}
